package pcjavanet.mobilesell.model;

import java.util.Date;

 import pcjavanet.mobilesell.model.Purchase;

 import pcjavanet.mobilesell.model.Shop;

 import pcjavanet.mobilesell.model.Color;

 import pcjavanet.mobilesell.model.Configuration;

 import pcjavanet.mobilesell.model.Unit;

public class Storehouse {
    private Integer dbid;

    private Integer refPurchaseDbid;

    private Integer refShopDbid;

    private Integer refColorDbid;
    
    private Integer refGoodsDbid;

    private Integer refConfigurationDbid;

    private Integer refUnitDbid;

    private Integer intype;

    private Double price;

    private Double saleprice;

    private Double money;

    private Integer number;

    private String memo;
    
    private String serialnumber;

    private Date createDate;

    private Purchase purchase = null;
    private Goods goods = null;
    private Shop shop = null;
    private Color color = null;
    private Configuration configuration = null;
    private Unit unit = null;
    private int status ; 
    public int getStatus() {
		return status;
	}
	public void setStatus(int status) {
		this.status = status;
	}
	public void setPurchase( Purchase purchase ){
        this.purchase=purchase;
    }
    public Goods getGoods() {
		return goods;
	}
	public String getSerialnumber() {
		return serialnumber;
	}
	public void setSerialnumber(String serialnumber) {
		this.serialnumber = serialnumber;
	}
	public void setGoods(Goods goods) {
		this.goods = goods;
	}
	public Integer getRefGoodsDbid() {
		return refGoodsDbid;
	}
	public void setRefGoodsDbid(Integer refGoodsDbid) {
		this.refGoodsDbid = refGoodsDbid;
	}
	public Purchase getPurchase( ){
    	return this.purchase;
    }
    public void setShop( Shop shop ){
        this.shop=shop;
    }
    public Shop getShop( ){
    	return this.shop;
    }
    public void setColor( Color color ){
        this.color=color;
    }
    public Color getColor( ){
    	return this.color;
    }
    public void setConfiguration( Configuration configuration ){
        this.configuration=configuration;
    }
    public Configuration getConfiguration( ){
    	return this.configuration;
    }
    public void setUnit( Unit unit ){
        this.unit=unit;
    }
    public Unit getUnit( ){
    	return this.unit;
    }
    public Integer getDbid() {
        return dbid;
    }

    public void setDbid(Integer dbid) {
        this.dbid = dbid;
    }

    public Integer getRefPurchaseDbid() {
        return refPurchaseDbid;
    }

    public void setRefPurchaseDbid(Integer refPurchaseDbid) {
        this.refPurchaseDbid = refPurchaseDbid;
    }

    public Integer getRefShopDbid() {
        return refShopDbid;
    }

    public void setRefShopDbid(Integer refShopDbid) {
        this.refShopDbid = refShopDbid;
    }

    public Integer getRefColorDbid() {
        return refColorDbid;
    }

    public void setRefColorDbid(Integer refColorDbid) {
        this.refColorDbid = refColorDbid;
    }

    public Integer getRefConfigurationDbid() {
        return refConfigurationDbid;
    }

    public void setRefConfigurationDbid(Integer refConfigurationDbid) {
        this.refConfigurationDbid = refConfigurationDbid;
    }

    public Integer getRefUnitDbid() {
        return refUnitDbid;
    }

    public void setRefUnitDbid(Integer refUnitDbid) {
        this.refUnitDbid = refUnitDbid;
    }

    public Integer getIntype() {
        return intype;
    }

    public void setIntype(Integer intype) {
        this.intype = intype;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public Double getSaleprice() {
        return saleprice;
    }

    public void setSaleprice(Double saleprice) {
        this.saleprice = saleprice;
    }

    public Double getMoney() {
        return money;
    }

    public void setMoney(Double money) {
        this.money = money;
    }

    public Integer getNumber() {
        return number;
    }

    public void setNumber(Integer number) {
        this.number = number;
    }

    public String getMemo() {
        return memo;
    }

    public void setMemo(String memo) {
        this.memo = memo == null ? null : memo.trim();
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }
}
